home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / HippoDraw / HippoDrawSrc1.1 / Hippo.subproj / InspectPlot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-25  |  1.2 KB  |  57 lines

  1. /* InspectPlot.h        by Paul Kunz    June 1991
  2.  * Controls miscellaneous options of the Plot
  3.  * 
  4.  * Copyright (C)  1991  The Board of Trustees of
  5.  * The Leland Stanford Junior University.  All Rights Reserved.
  6.  */
  7.  
  8. #define INSPECTPLOT_H_ID "$Id: InspectPlot.h,v 1.23 1992/03/25 17:56:25 pfkeb Rel $"
  9.  
  10. #import "InspectBase.h"
  11. #import <appkit/graphics.h>
  12.  
  13. #import "hippo.h"
  14.  
  15. @interface InspectPlot:InspectBase
  16. {
  17.     id    drawOptMatrix;    /* Matrix of drawing options */
  18.     id    graphTypMatrix;    /* Matrix to select graph type */
  19.     id  titleForm;    /* From for titles and labels */
  20.     
  21.     int currentDim;    /* dimension of current plot */
  22.     graphtype_t         graphtype;
  23. }
  24.  
  25. - initInspFor:aDraw;
  26.  /* 
  27.   * Initializes object and adds itself to the Inspector Panel's list.
  28.   */
  29.  
  30. - drawOption:sender;
  31.  /* 
  32.   * Responds to change in Draw Options matrix
  33.   */
  34.  
  35. - graphOption:sender;
  36.  /*
  37.   * Responds to change in Graph type options list
  38.   */
  39.  
  40. - titleForm:sender;
  41.  /*
  42.   * Responds to ENTER in title and labels form by updating the
  43.   * titles and lables for the selected Plots
  44.   */
  45.   
  46. - resetTitle:sender;
  47.  /*
  48.   * Resets the title or label of a Plot.   Sender is a matrix of 
  49.   * buttons.
  50.   */
  51. - updateView;
  52.  /*
  53.   * Update the Inspector's contents.
  54.   */
  55.   
  56. @end
  57.